<?php 

class teamcontroller extends controller{
public function teamlistaction(){
	$id=$_GET['id'];
$teammodel = factory::getClass('teammodel');
$res=$teammodel->teamlist($id);
$res_t=$teammodel->playerlist($id);
$res_c=$teammodel->countlist($id);
$this->v->assign('res',$res);
$this->v->assign('res_t',$res_t);
$this->v->assign('res_c',$res_c);
$this->v->display('./app/'.MUDEL.'/view/'.CONTROLLER.'.html');
}
}



 ?>
 
 